package com.victualler.core.config.img.repository;

import com.victualler.core.base.repository.BaseRepository;
import com.victualler.core.config.img.entity.ImageDirDao;

import java.util.List;

/**
 * @Author: Guoshichang
 * @Date: Create in 22:48 2018-04-23
 * @Discription: 图片对应的文件夹路径
 */
public interface ImageDirRepository  extends BaseRepository<ImageDirDao,Long> {
    /**
     * 根据父id查询对应的imageDir
     * @return
     */
    public List<ImageDirDao> findByParentId(Long parentId);
}
